package com.zdtech.action;

import java.util.ArrayList;
import java.util.List;

import com.opensymphony.xwork2.Action;
import com.opensymphony.xwork2.ActionSupport;
import com.zdtech.entity.TSingle;

public class InsureOrderAction extends ActionSupport{
	
	//详单对象 menuId num
	private List<TSingle> singlelist = new ArrayList<>();
	//总价
	private String total = "20.5";
	//备注
	private String remark = "不要辣椒";
	//选择支付方式
	private String method = "线下支付";

	public String execute() throws Exception {
		TSingle single = new TSingle();
		single.setBillId(1);
		single.setNum(12);
		singlelist.add(single);
		return Action.SUCCESS;
	}

	public List<TSingle> getSinglelist() {
		return singlelist;
	}

	public void setSinglelist(List<TSingle> singlelist) {
		this.singlelist = singlelist;
	}

	public String getTotal() {
		return total;
	}

	public void setTotal(String total) {
		this.total = total;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getMethod() {
		return method;
	}

	public void setMethod(String method) {
		this.method = method;
	}

	
}
